Skip to content

Sandboxes: drop the image parameter, fix /workspace paths in docs (0.3.0) - #21

Merged
ats3v merged 1 commit into
mainfrom
georgi/sandbox-drop-image-param
Aug 12, 2026
Merged

Sandboxes: drop the image parameter, fix /workspace paths in docs (0.3.0)#21
ats3v merged 1 commit into
mainfrom
georgi/sandbox-drop-image-param

Conversation

@ats3v

@ats3v ats3v commented Aug 12, 2026

Copy link
Copy Markdown
Member

Follows deepinfra/backend#4243, which removes image from the sandbox create API.

  • Sandbox.create() / acreate() no longer accept image. The server ignores it now — it was an unvalidated field landing straight in the pod spec, and only images carrying /bin/bash could boot at all. Sandboxes always run the managed base image, which now ships curl, wget, git, jq, build-essential, node and npm. Sandbox.image still reports what a sandbox is running.
  • Every doc example used /work/..., which the server rejects with a 500 — fs only accepts /workspace. Fixed in the module docstring, README, run_python docstring and examples/sandbox_quickstart.py, and the README now states that /workspace is the only path surviving stop()/start() or the idle auto-stop.
  • 0.3.0, breaking for anyone passing image=.

Not published to PyPI yet.

@ats3v
ats3v merged commit 3a6c0b9 into main Aug 12, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants